package cn.gcyl.module.biz.controller.admin.alliancemembers.vo;

import cn.gcyl.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.gcyl.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 联盟成员链接分页 Request VO")
@Data
public class AllianceMembersPageInfoReqVO extends PageParam {

    @Schema(description = "公司id", example = "1")
    private Long id;
    @Schema(description = "公司名称", example = "王五")
    private String corporateName;

    @Schema(description = "显示顺序")
    private Integer sort;

    @Schema(description = "浏览人数")
    private Integer[] visitors;

    @Schema(description = "显示状态（0正常 1停用）", example = "2")
    private Integer status;

    @Schema(description = "图片地址")
    private String imagePath;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "标题类型(0项目采购商机 1项目分包商机 2集中招募商机)", example = "2")
    private Integer titleType;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "采购公司")
    private String purchasingCompany;

    @Schema(description = "收藏人数")
    private Integer collectors;

    @Schema(description = "分享人数")
    private Integer shares;

    @Schema(description = "咨询人数")
    private Integer inquiries;

    @Schema(description = "咨询电话")
    private String phone;

    @Schema(description = "信息类型类型", example = "2")
    private String informationType;

    @Schema(description = "开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] startTime;

    @Schema(description = "结束时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] endTime;

    @Schema(description = "需求标签")
    private String requirementLabel;

}